<% if flash[:notice].present? || flash[:info].present? || flash[:error].present? || flash[:alert].present? %>
    <div class="cama_flash_messages">
        <% if flash[:info].present? %>
            <div class="flash_messages">
                <div class="alert alert-info">
                    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <%= raw(flash[:info]) %>
                </div>
            </div>
        <% end %>

        <% if flash[:notice].present? %>
            <div class="flash_messages">
                <div class="alert alert-success">
                    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <%= raw(flash[:notice]) %>
                </div>
            </div>
        <% end %>

        <% if flash[:error].present? %>
            <div class="flash_messages">
                <div class="alert alert-danger">
                    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <%= raw(flash[:error]) %>
                </div>
            </div>
        <% end %>

        <% if flash[:alert].present? %>
            <div class="flash_messages">
                <div class="alert alert-warning">
                    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <%= raw(flash[:alert]) %>
                </div>
            </div>
        <% end %>
    </div>
<% end %>